package com.zillion.employee.domain;

import com.zillion.common.annotation.Excel;

/**
 * 单位人员信息类(用于批量添加单位申报人员)
 */
public class UnitPerson {
    private Long id;

    @Excel(name = "姓名")
    private String name;

    @Excel(name = "身份证")
    private String idCard;

    @Excel(name = "年龄")
    private Integer age;

    @Excel(name = "性别", readConverterExp = "0=男,1=女,2=未知")
    private Integer gender;

    @Excel(name = "民族")
    private String ethnic;

    @Excel(name = "文化程度")
    private String educationLevel;

    @Excel(name = "工龄")
    private Integer workYears;

    @Excel(name = "联系电话")
    private String phone;

    @Excel(name = "工种")
    private Integer jobTypeId;

    @Excel(name = "家庭住址")
    private String address;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getEthnic() {
        return ethnic;
    }

    public void setEthnic(String ethnic) {
        this.ethnic = ethnic;
    }

    public String getEducationLevel() {
        return educationLevel;
    }

    public void setEducationLevel(String educationLevel) {
        this.educationLevel = educationLevel;
    }

    public Integer getWorkYears() {
        return workYears;
    }

    public void setWorkYears(Integer workYears) {
        this.workYears = workYears;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getJobTypeId() {
        return jobTypeId;
    }

    public void setJobTypeId(Integer jobTypeId) {
        this.jobTypeId = jobTypeId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "UnitPerson{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", idCard='" + idCard + '\'' +
                ", age=" + age +
                ", gender=" + gender +
                ", ethnic='" + ethnic + '\'' +
                ", educationLevel='" + educationLevel + '\'' +
                ", workYears=" + workYears +
                ", phone='" + phone + '\'' +
                ", jobTypeId=" + jobTypeId +
                ", address='" + address + '\'' +
                '}';
    }
}
